<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::face Namespace Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d4/d48/namespacecv_1_1face.html">face</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> |
<a href="#typedef-members">Typedefs</a> |
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">cv::face Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/dd7/classcv_1_1face_1_1BasicFaceRecognizer.html">BasicFaceRecognizer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d12/classcv_1_1face_1_1BIF.html">BIF</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">struct  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/dd8/structcv_1_1face_1_1CParams.html">CParams</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d7c/classcv_1_1face_1_1EigenFaceRecognizer.html">EigenFaceRecognizer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/dd8/classcv_1_1face_1_1Facemark.html">Facemark</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Abstract base class for all facemark models.  <a href="../../db/dd8/classcv_1_1face_1_1Facemark.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d5/d7b/classcv_1_1face_1_1FacemarkAAM.html">FacemarkAAM</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/de0/classcv_1_1face_1_1FacemarkKazemi.html">FacemarkKazemi</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d63/classcv_1_1face_1_1FacemarkLBF.html">FacemarkLBF</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d3/d81/classcv_1_1face_1_1FacemarkTrain.html">FacemarkTrain</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Abstract base class for trainable facemark models.  <a href="../../d3/d81/classcv_1_1face_1_1FacemarkTrain.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html">FaceRecognizer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Abstract base class for all face recognition models.  <a href="../../dd/d65/classcv_1_1face_1_1FaceRecognizer.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d2/de9/classcv_1_1face_1_1FisherFaceRecognizer.html">FisherFaceRecognizer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../df/d25/classcv_1_1face_1_1LBPHFaceRecognizer.html">LBPHFaceRecognizer</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d5c/classcv_1_1face_1_1MACE.html">MACE</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Minimum Average Correlation Energy Filter useful for authentication with (cancellable) biometrical features. (does not need many positives to train (10-50), and no negatives at all, also robust to noise/salting)  <a href="../../d9/d5c/classcv_1_1face_1_1MACE.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../da/d6a/classcv_1_1face_1_1PredictCollector.html">PredictCollector</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Abstract base class for all strategies of prediction result handling.  <a href="../../da/d6a/classcv_1_1face_1_1PredictCollector.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:"><td align="right" class="memItemLeft" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d8d/classcv_1_1face_1_1StandardCollector.html">StandardCollector</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Default predict collector.  <a href="../../d4/d8d/classcv_1_1face_1_1StandardCollector.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:gae0bc3cfe0eb0cccde1fc0d91c6cde9db"><td align="right" class="memItemLeft" valign="top">typedef bool(* </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7c/group__face.html#gae0bc3cfe0eb0cccde1fc0d91c6cde9db">FN_FaceDetector</a>) (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a>, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a>, void *userData)</td></tr>
<tr class="separator:gae0bc3cfe0eb0cccde1fc0d91c6cde9db"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aedc268b74cfa8bbad74652e577345220"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../db/dd8/classcv_1_1face_1_1Facemark.html">Facemark</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d48/namespacecv_1_1face.html#aedc268b74cfa8bbad74652e577345220">createFacemarkAAM</a> ()</td></tr>
<tr class="memdesc:aedc268b74cfa8bbad74652e577345220"><td class="mdescLeft"> </td><td class="mdescRight">construct an AAM facemark detector  <a href="#aedc268b74cfa8bbad74652e577345220">More...</a><br/></td></tr>
<tr class="separator:aedc268b74cfa8bbad74652e577345220"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2c5697c7d2bc0e76fc86e69b2378d9c9"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../db/dd8/classcv_1_1face_1_1Facemark.html">Facemark</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d48/namespacecv_1_1face.html#a2c5697c7d2bc0e76fc86e69b2378d9c9">createFacemarkKazemi</a> ()</td></tr>
<tr class="memdesc:a2c5697c7d2bc0e76fc86e69b2378d9c9"><td class="mdescLeft"> </td><td class="mdescRight">construct a Kazemi facemark detector  <a href="#a2c5697c7d2bc0e76fc86e69b2378d9c9">More...</a><br/></td></tr>
<tr class="separator:a2c5697c7d2bc0e76fc86e69b2378d9c9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0bec73a729ed878430c2feb9ce65bc2a"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt; <a class="el" href="../../db/dd8/classcv_1_1face_1_1Facemark.html">Facemark</a> &gt; </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/d48/namespacecv_1_1face.html#a0bec73a729ed878430c2feb9ce65bc2a">createFacemarkLBF</a> ()</td></tr>
<tr class="memdesc:a0bec73a729ed878430c2feb9ce65bc2a"><td class="mdescLeft"> </td><td class="mdescRight">construct an LBF facemark detector  <a href="#a0bec73a729ed878430c2feb9ce65bc2a">More...</a><br/></td></tr>
<tr class="separator:a0bec73a729ed878430c2feb9ce65bc2a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga318d9669d5ed4dfc6ab9fae2715310f5"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7c/group__face.html#ga318d9669d5ed4dfc6ab9fae2715310f5">drawFacemarks</a> (<a class="el" href="../../dc/d84/group__core__basic.html#gaf77c9a14ef956c50c1efd4547f444e63">InputOutputArray</a> image, <a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> points, <a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a> color=<a class="el" href="../../dc/d84/group__core__basic.html#ga599fe92e910c027be274233eccad7beb">Scalar</a>(255, 0, 0))</td></tr>
<tr class="memdesc:ga318d9669d5ed4dfc6ab9fae2715310f5"><td class="mdescLeft"> </td><td class="mdescRight">Utility to draw the detected facial landmark points.  <a href="../../db/d7c/group__face.html#ga318d9669d5ed4dfc6ab9fae2715310f5">More...</a><br/></td></tr>
<tr class="separator:ga318d9669d5ed4dfc6ab9fae2715310f5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga62cec28ecffa694e1efb272ff0c65da2"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7c/group__face.html#ga62cec28ecffa694e1efb272ff0c65da2">getFaces</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> image, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> faces, <a class="el" href="../../d8/dd8/structcv_1_1face_1_1CParams.html">CParams</a> *params)</td></tr>
<tr class="memdesc:ga62cec28ecffa694e1efb272ff0c65da2"><td class="mdescLeft"> </td><td class="mdescRight">Default face detector This function is mainly utilized by the implementation of a <a class="el" href="../../db/dd8/classcv_1_1face_1_1Facemark.html" title="Abstract base class for all facemark models. ">Facemark</a> <a class="el" href="../../d3/d46/classcv_1_1Algorithm.html" title="This is a base class for all more or less complex algorithms in OpenCV. ">Algorithm</a>. End users are advised to use function Facemark::getFaces which can be manually defined and circumvented to the algorithm by Facemark::setFaceDetector.  <a href="../../db/d7c/group__face.html#ga62cec28ecffa694e1efb272ff0c65da2">More...</a><br/></td></tr>
<tr class="separator:ga62cec28ecffa694e1efb272ff0c65da2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga64a534740d4c9aa0489da85b431fec47"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7c/group__face.html#ga64a534740d4c9aa0489da85b431fec47">getFacesHAAR</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga353a9de602fe76c709e12074a6f362ba">InputArray</a> image, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> faces, const <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &amp;face_cascade_name)</td></tr>
<tr class="separator:ga64a534740d4c9aa0489da85b431fec47"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga02020fc9f387bb043a478fe5f112bb8d"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7c/group__face.html#ga02020fc9f387bb043a478fe5f112bb8d">loadDatasetList</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> imageList, <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> annotationList, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp;images, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp;annotations)</td></tr>
<tr class="memdesc:ga02020fc9f387bb043a478fe5f112bb8d"><td class="mdescLeft"> </td><td class="mdescRight">A utility to load list of paths to training image and annotation file.  <a href="../../db/d7c/group__face.html#ga02020fc9f387bb043a478fe5f112bb8d">More...</a><br/></td></tr>
<tr class="separator:ga02020fc9f387bb043a478fe5f112bb8d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gab70c6fb08756f867d6160099907202a5"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7c/group__face.html#gab70c6fb08756f867d6160099907202a5">loadFacePoints</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> filename, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> points, float offset=0.0f)</td></tr>
<tr class="memdesc:gab70c6fb08756f867d6160099907202a5"><td class="mdescLeft"> </td><td class="mdescRight">A utility to load facial landmark information from a given file.  <a href="../../db/d7c/group__face.html#gab70c6fb08756f867d6160099907202a5">More...</a><br/></td></tr>
<tr class="separator:gab70c6fb08756f867d6160099907202a5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gacd36ecb8de65bd12d8420d4a0ae98a4b"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7c/group__face.html#gacd36ecb8de65bd12d8420d4a0ae98a4b">loadTrainingData</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> filename, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp;images, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> facePoints, char delim=' ', float offset=0.0f)</td></tr>
<tr class="memdesc:gacd36ecb8de65bd12d8420d4a0ae98a4b"><td class="mdescLeft"> </td><td class="mdescRight">A utility to load facial landmark dataset from a single file.  <a href="../../db/d7c/group__face.html#gacd36ecb8de65bd12d8420d4a0ae98a4b">More...</a><br/></td></tr>
<tr class="separator:gacd36ecb8de65bd12d8420d4a0ae98a4b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ga9bbdd4136cc1eee55586b5f115d8a3a8"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7c/group__face.html#ga9bbdd4136cc1eee55586b5f115d8a3a8">loadTrainingData</a> (<a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> imageList, <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> groundTruth, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp;images, <a class="el" href="../../dc/d84/group__core__basic.html#gaad17fda1d0f0d1ee069aebb1df2913c0">OutputArray</a> facePoints, float offset=0.0f)</td></tr>
<tr class="memdesc:ga9bbdd4136cc1eee55586b5f115d8a3a8"><td class="mdescLeft"> </td><td class="mdescRight">A utility to load facial landmark information from the dataset.  <a href="../../db/d7c/group__face.html#ga9bbdd4136cc1eee55586b5f115d8a3a8">More...</a><br/></td></tr>
<tr class="separator:ga9bbdd4136cc1eee55586b5f115d8a3a8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:gac3a2d046686d932425d2601b640d97d3"><td align="right" class="memItemLeft" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/d7c/group__face.html#gac3a2d046686d932425d2601b640d97d3">loadTrainingData</a> (std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; filename, std::vector&lt; std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga7d080aa40de011e4410bca63385ffe2a">Point2f</a> &gt; &gt; &amp;trainlandmarks, std::vector&lt; <a class="el" href="../../dc/d84/group__core__basic.html#ga1f6634802eeadfd7245bc75cf3e216c2">String</a> &gt; &amp;trainimages)</td></tr>
<tr class="memdesc:gac3a2d046686d932425d2601b640d97d3"><td class="mdescLeft"> </td><td class="mdescRight">This function extracts the data for training from .txt files which contains the corresponding image name and landmarks. The first file in each file should give the path of the image whose landmarks are being described in the file. Then in the subsequent lines there should be coordinates of the landmarks in the image i.e each line should be of the form x,y where x represents the x coordinate of the landmark and y represents the y coordinate of the landmark.  <a href="../../db/d7c/group__face.html#gac3a2d046686d932425d2601b640d97d3">More...</a><br/></td></tr>
<tr class="separator:gac3a2d046686d932425d2601b640d97d3"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="aedc268b74cfa8bbad74652e577345220"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aedc268b74cfa8bbad74652e577345220">◆ </a></span>createFacemarkAAM()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../db/dd8/classcv_1_1face_1_1Facemark.html">Facemark</a>&gt; cv::face::createFacemarkAAM </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face.createFacemarkAAM(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>construct an AAM facemark detector </p>
</div>
</div>
<a id="a2c5697c7d2bc0e76fc86e69b2378d9c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c5697c7d2bc0e76fc86e69b2378d9c9">◆ </a></span>createFacemarkKazemi()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../db/dd8/classcv_1_1face_1_1Facemark.html">Facemark</a>&gt; cv::face::createFacemarkKazemi </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face.createFacemarkKazemi(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>construct a Kazemi facemark detector </p>
</div>
</div>
<a id="a0bec73a729ed878430c2feb9ce65bc2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bec73a729ed878430c2feb9ce65bc2a">◆ </a></span>createFacemarkLBF()</h2>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../dc/d84/group__core__basic.html#ga6395ca871a678020c4a31fadf7e8cc63">Ptr</a>&lt;<a class="el" href="../../db/dd8/classcv_1_1face_1_1Facemark.html">Facemark</a>&gt; cv::face::createFacemarkLBF </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.face.createFacemarkLBF(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>construct an LBF facemark detector </p>
</div>
</div>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:47 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
